{include file="pub:header" /}
<script>
function submitform(){
	var t=$("input[name='cat']:checked").val();
	var msg=(1==t)?'是否执行充值操作？':'执行扣款操作?';
	ajaxpostconfirm('formpost',msg);
}
</script>
</head>
<body>

<div class="subnav">
	<div class="content_menu ib_a blue line_x">
		<a class="add" href="{:url('cashedit','uid='.$info['id'])}"><em>余额管理</em></a>
		<span>|</span>
		<a class="" href="{:url('cashuser','uid='.$info['id'])}"><em>余额明细</em></a>
	</div>
</div>

<div class="pad_lr_10" >
	<form action="{:url('cashedit')}" method="post" id="formpost">
	<input type="hidden" name="uid" value="{$info['id']}">
    <table width="100%" cellspacing="0" class="table_form">
        <tbody>
			<tr>
				<th>登录账号：</th>
				<td><b style="margin-right:20px;">{$info['account']}</b>【{$info['id']}】</td>
			</tr>

			<tr>
				<th>账户余额：</th>
				<td>￥<span style="color:red;font-size:20px;font-weight:bold;">{$info['cash']}</span></td>
			</tr>

			<tr>
				<th><font color="red">*</font> 操作类型：</th>
				<td>
					<label><input name="cat" type="radio" checked value="1">充值</label>&nbsp;&nbsp;
					<label><input name="cat" type="radio" value="2">扣款</label>
				</td>
			</tr>

			<tr>
				<th><font color="red">*</font> 金额：</th>
				<td>
					<input name="cash" type="input" value="" class="input-text" size="30">
				</td>
			</tr>

			<tr>
			  <th>备注信息：</th>
			  <td>
			    <textarea name="info" style="width:400px;height:50px" class="input-text">{$info['info']}</textarea>
				<br/><span class="gray">100个字符以内</span>
			  </td>
			</tr>
        </tbody>
    </table>
    </form>
</div>

<div class="fix_h" style="height:54px;">
	<div class="mt10" style="position: fixed;z-index: 9999;width: 100%;text-align:center;bottom: 0px;background:#ccc;height:54px;overflow:hidden;">
		<input type="button" value="提交" onclick="submitform();"  name="dosubmit" class="smt mr10" style="margin-top:12px;display:inline-block;float:none;">
	</div>
</div>


<include file="Public:footer" />
